import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
// 导入路由
import router from './router'
// 引入 Vant 组件库中函数对应的样式 
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'
// import 'vant/es/tab/style'
// import 'vant/es/tabs/style'
// import { Tab, Tabs } from 'vant';
import './assets/main.css'

const app = createApp(App)
// app.use(Tab);
// app.use(Tabs);.

app.use(createPinia())
app.use(router)//以插件的形式使用路由
app.mount('#app')
